﻿using System;

namespace car
{
    public class Car : Garage
    {
       

        public string Name { get; set; }
        public string Color { get; set; }
        public int Wheel { get; set; }
      

        public void Start()
        {
            if (Wheel >= 4)
            {
                Console.WriteLine("可以跑起");
            }
            else
            {
                Garage.Repair();
                Console.WriteLine("请输入修车厂名");
                Gname = Console.ReadLine();
                Console.WriteLine("请输入修车厂电话号码");
                Phone = long.Parse(Console.ReadLine());
                Console.WriteLine("请输入修车厂地址");
                Address = Console.ReadLine();
            }
        }
    }
}